package com.hyt.it.ogt.ks.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hyt.core.base.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 考生照片视频文件
 * </p>
 *
 * @author chengxh
 * @since 2020-06-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Builder
@TableName("ks_candidate_file")
@ApiModel(value="CandidateFile对象", description="考生照片视频文件")
public class CandidateFile extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "考试考生ID")
    private String candidateId;

    @ApiModelProperty(value = "考试ID")
    private String examId;

    @ApiModelProperty(value = "图片ID，文件系统ID")
    private String fileId;

    @ApiModelProperty(value = "文件名称")
    private String fleName;

    @ApiModelProperty(value = "照片类型，1表示照片，0表示视频，2表示音频")
    private Integer sourceType;

    @ApiModelProperty(value = "创建人，新注册采用admin")
    private String createBy;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "是否删除")
    private Boolean isDelFlag;


}
